package com.rzico.basics.amap.pojo;

import com.rzico.basics.amap.pojo.district.Suggestion;
import com.rzico.basics.amap.pojo.query.Poi;

import java.util.List;

/**
 * 搜索POI
 */
public class GeoPOIQuery {

    /**
     * 结果状态值 (0：请求失败；1：请求成功)
     */
    private String status;
    /**
     * 返回状态说明 (status为0时，info返回错误原因，否则返回“OK”。)
     */
    private String info;
    /**
     * 搜索方案数目(最大值为1000)
     */
    private String count;
    /**
     * 城市建议
     */
    private Suggestion suggestion;
    /**
     * 搜索POI信息
     */
    private List<Poi> pois;

    private Boolean error;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public Suggestion getSuggestion() {
        return suggestion;
    }

    public void setSuggestion(Suggestion suggestion) {
        this.suggestion = suggestion;
    }

    public List<Poi> getPois() {
        return pois;
    }

    public void setPois(List<Poi> pois) {
        this.pois = pois;
    }

    public Boolean getError() {
        return error;
    }

    public void setError(Boolean error) {
        this.error = error;
    }
}
